OTP\Handler\Forms\MoWCCheckoutNew B

Total Complexity 89
Dependencies 13
Dependents 0
Total lines 650
Lines of code 395
Logical lines of code 193
Comment lines 196
Methods 29
Properties 5

Methods 29

Method Rating Maintainability Complexity Lines of code
handle_form_options()
A
45 10 38
handle_form()
A
46 10 36
enqueue_script_on_page()
S
51 5 24
my_custom_checkout_field_process()
S
53 5 23
checkIntegrity()
S
55 5 22
send_otp()
S
55 4 21
has_shipping_methods()
S
56 4 18
get_woocommerce_shipping_address_setting()
S
63 4 11
add_custom_popup()
S
49 2 41
__construct()
S
56 3 17
processEmail()
S
63 4 10
process_phone_number()
S
63 4 10
checkPhoneValidity()
S
63 3 11
checkIntegrityAndValidateOTP()
S
56 2 20
process_email_and_send_otp()
S
59 2 15
get_phone_number_selector()
S
70 3 6
process_phone_and_send_otp()
S
60 2 14
processFormAndValidateOTP()
S
61 2 13
mo_get_migrated_option()
S
67 2 8
isPhoneNumberAlreadyInUse()
S
64 2 8
isPaymentVerificationNeeded()
S
78 2 3
handle_otp_token_submitted()
S
68 2 7
isPopUpEnabled()
S
86 1 2
getPaymentMethods()
S
82 1 3
handle_failed_verification()
S
79 1 3
isGuestCheckoutOnlyEnabled()
S
86 1 2
unset_otp_session_variables()
S
80 1 3
handle_post_verification()
S
79 1 3
isSelectivePaymentEnabled()
S
82 1 3